package com.mask.im.business.model.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 *
 * @author jian
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_announcement")
public class AnnouncementDO {
    //公告id
    private Integer id;
    //标题
    private String title;
    //公告内容
    private String content;
    //发布人
    private Integer publisher;

    private Integer status;

    private Integer instantPush;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    //发布时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    //0未删除1删除
    private Integer isDelete;


}

